alist = [10, 'john']
print(list(enumerate(alist)))

for ind in range(len(alist)):
    print('%s: %s' % (ind, alist[ind]))

for item in enumerate(alist):
    print('%s: %s' % (item[0], item[1]))

for ind, val in enumerate(alist):
    print('%s: %s' % (ind, val))

atuple = (96, 97, 40, 75, 58, 34, 69, 29, 66, 90)
print(sorted(atuple))
print(sorted(atuple, reverse=True))
print(sorted('hello'))
for i in reversed(atuple):
    print(i, end=',')